#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main(void)
{
	/*int a[2][5][2] = { 1,6 };
	int* p = &a[0][0][0];
	int(*p1)[2] = &a[0][0];
	int(*p2)[5][2] = &a[0];
	int(*p3)[2][5][2] = &a;
	int i, j, k;
	for (i = 0; i < 2; i++)
	{
		for (j = 0; j < 5; j++)
		{
			for (k = 0; k < 2; k++)
				printf("%d,", (*p3)[i][j][k]);
		}
	}*/
	/*int* p;
	short* p1;
	float* p2;
	double* p3;
	int(*p4)[3];
	int(*p5)[2][4];
	printf("%d,%d,%d,%d,%d,%d", sizeof(p), sizeof(p2), sizeof(p3), sizeof(p4), sizeof(p5),sizeof(p1) );*/
	//short i[2][3][2] = { 4,4,5,51,5 };
	//int z[3][5] = { 0 };
	//printf("%d %d\n", &i[1][2],i[1][2]);
	////short* p = &i[0][0][0];
	////int* p1 = &z[0][0];
	//printf("%d %d %d %d %d %d %d\n", i+1,i[0]+1,&i+1,&i[0]+1,i ,i[0][0]+1,&i[0][0]+1);
	//printf("%d %d %d %d %d", z+1,z[0]+1,&z+1,&z[0]+1,z );
	/*int array[2][3] = { {0, 1, 2}, {3, 4, 5} };
	int(*p)[3] = array;
	printf("**(p+1): %d\n", **(p + 1));
	printf("**(array+1): %d\n", **(array + 1));
	printf("array[1][0]: %d\n", array[1][0]);
	printf("*(*(p+1)+2): %d\n", *(*(p + 1) + 2));
	printf("*(*(array+1)+2): %d\n", *(*(array + 1) + 2));
	printf("array[1][2]: %d\n", array[1][2]);*/
	/*char array[2][3][5] = {
 {
 {'x', 'x', 'x', 'x', 'x'},
 {'x', 'x', 'o', 'x', 'x'},
 {'x', 'x', 'x', 'x', 'x'}
 },
 {
 {'x', 'x', 'x', 'x', 'x'},
 {'x', 'x', 'o', 'x', 'x'},
 {'x', 'x', 'x', 'x', 'x'}
 }
	};
	printf("%c%c%c%c\n", *(*(*array + 1) + 2), *(*(*(array + 1) + 1) + 2), ***array, *(**array + 1));*/
	/*int str[3][3] = { 0 };
	int i = 0, j = 0;
	for (i = 0; i < 3; i++)
	{
		for (j = 0; j < 3; j++)
		{
			str[i][j] = getchar();
		}
	}
	for (i = 0; i < 3; i++)
	{
		for (j = 0; j < 3; j++)
		{
			printf("%3c", str[i][j]);
		}
		printf("\n");
	}*/

	return 0;
}